package com.regex.web.entity.kf;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.regex.web.entity.StrIdBaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.regex.web.common.excel.annotation.ExcelField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 残疾人康复信息表
 * </p>
 *
 * @author wbj
 * @since 2021-06-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cl_cjrjkxx")
public class ClCjrjkxxDTO extends StrIdBaseEntity implements Cloneable {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @TableField("name")
    @ExcelField(title="姓名",  align=2 , sort=1, dictType="")
    private String name;

    /**
     * 年龄
     */
    @TableField("age")
    @ExcelField(title="年龄",  align=2 , sort=2, dictType="")
    private Integer age;

    /**
     * 证号
     */
    @TableField("code")
    @ExcelField(title="证号",  align=2 , sort=3, dictType="")
    private String code;

    /**
     * 残疾类型
     */
    @TableField("cjlx")
    @ExcelField(title="残疾类型",  align=2 , sort=4, dictType="")
    private String cjlx;

    /**
     * 残疾等级
     */
    @TableField("cjdj")
    @ExcelField(title="残疾等级",  align=2 , sort=5, dictType="")
    private String cjdj;

    /**
     * 服务内容
     */
    @TableField("fwnr")
    @ExcelField(title="服务内容",  align=2 , sort=6, dictType="")
    private String fwnr;

    /**
     * 康复机构
     */
    @TableField("kfjg")
    @ExcelField(title="康复机构",  align=2 , sort=7, dictType="")
    private String kfjg;

    /**
     * 服务开始时间
     */
    @TableField("fwkssj")
    @ExcelField(title="服务开始时间",  align=2 , sort=8, dictType="")
    private String fwkssj;

    /**
     * 服务结束时间
     */
    @TableField("fwjssj")
    @ExcelField(title="服务结束时间",  align=2 , sort=9, dictType="")
    private String fwjssj;

    /**
     * 康复状态
     */
    @TableField("kfzt")
    @ExcelField(title="康复状态",  align=2 , sort=10, dictType="")
    private String kfzt;


    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }


private static ClCjrjkxxDTO clCjrjkxxDTO = new ClCjrjkxxDTO();
    
    public static ClCjrjkxxDTO getInstance() {
        try {
            return (ClCjrjkxxDTO) clCjrjkxxDTO.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return new ClCjrjkxxDTO();
    }

}
